package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MedicineInfo implements Serializable {


    /**
     * 药品一级分类主键id
     */
    private Integer midi;
    /**
     * 药品一级分类
     */
    private String nameType;

    /**
     * 药品详情主键id
     */
    private Integer midii;
    /**
     * 药品名称
     */
    private String name;
    /**
     * 适应症状
     */
    private String shiyingzheng;
    /**
     * 药品禁忌
     */
    private String jinji;
    /**
     * 药品规格
     */
    private String guige;
    /**
     * 药品厂家
     */
    private String changjia;
    /**

     * 有效期至
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date youxiaoqi;
    /**
     * 库存
     */
    private Integer kucun;
    /**
     * 单价
     */
    private Object price;
}
